package com.mall.enums;

public enum UserEnum {
	FENXIAOSHANG("分销商",2),GONGYINGSHANG("供应商",1),MAIGEDIANADMIN("买个店管理员",5),
	COMMON("普通用户",0),TESTUSER("测试账号",8);
	private String desc;
	private Integer code;
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	
	private UserEnum(String desc,Integer code){
		this.desc = desc;
		this.code = code;
	}
}
